/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.commons.domain.wallet;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * cere_wallet_withdrawal 钱包提现实体类
 * @author
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "CereWalletWithdrawal", description = "钱包提现实体类")
public class CereWalletWithdrawal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 提现ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "提现ID")
    private Long withdrawalId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long buyerUserId;

    /**
     * 提现单号
     */
    @ApiModelProperty(value = "提现单号")
    private String withdrawalNo;

    /**
     * 提现金额
     */
    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;

    /**
     * 手续费
     */
    @ApiModelProperty(value = "手续费")
    private BigDecimal fee;

    /**
     * 实际到账金额
     */
    @ApiModelProperty(value = "实际到账金额")
    private BigDecimal actualAmount;

    /**
     * 提现方式 1-微信零钱 2-支付宝余额 3-银行卡
     */
    @ApiModelProperty(value = "提现方式")
    private Integer withdrawalMethod;

    /**
     * 提现状态 0-待审核 1-审核通过 2-审核拒绝 3-提现中 4-提现成功 5-提现失败
     */
    @ApiModelProperty(value = "提现状态")
    private Integer withdrawalStatus;

    /**
     * 银行名称
     */
    @ApiModelProperty(value = "银行名称")
    private String bankName;

    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    private String bankCard;

    /**
     * 账户姓名
     */
    @ApiModelProperty(value = "账户姓名")
    private String accountName;

    /**
     * 第三方提现订单号
     */
    @ApiModelProperty(value = "第三方提现订单号")
    private String thirdPartyOrderNo;

    /**
     * 申请时间
     */
    @ApiModelProperty(value = "申请时间")
    private String applyTime;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    private String auditTime;

    /**
     * 审核人ID
     */
    @ApiModelProperty(value = "审核人ID")
    private Long auditUserId;

    /**
     * 审核备注
     */
    @ApiModelProperty(value = "审核备注")
    private String auditRemark;

    /**
     * 提现成功时间
     */
    @ApiModelProperty(value = "提现成功时间")
    private String successTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updateTime;
}
